function Foo(name){
    this.name = name
}
Foo.prototype.age = 21

let foo = new Foo('Tom')
console.log(foo);
